package org.sxm.cloud.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.sxm.cloud.entity.order.UserEntity;

/**
 * @Description
 * @Author xmSheng
 * @Date 2024/3/5
 */
@Repository
public interface UserDao extends JpaRepository<UserEntity,Integer> {

    /**
     * 通过账号名查询用户信息
     * @param account
     * @return
     */
    UserEntity findByAccount(String account);
}
